package com.share.user.admin.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author 胡先生
 * @since 2024-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_permissions")
public class SysPermissions implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private String permissionName;


    private String permissionKey;

    private String permissionDescription;

    private LocalDateTime validFrom;

    private LocalDateTime validTo;


    private LocalDateTime createdAt;


    private LocalDateTime updatedAt;


    private Long createdBy;

    private Long updatedBy;


}
